package com.xiyu.service.vo.setting.businessField;

import com.xiyu.service.vo.setting.business.baseVO.SettingBusinessFieldBase;
import com.xiyu.service.vo.setting.business.baseVO.SettingBusinessFieldOptionBase;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import jakarta.validation.Valid;
import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;

@Schema(description = "更新业务字段")
@Data
public class BusinessFieldUpdateInput extends SettingBusinessFieldBase {

    @Schema(description = "业务字段选项")
    @Valid
    private List<option> options;

    @Schema(description = "业务字段主键ID")
    private Long id;

    @Schema(description = "业务字段选项")
    @Data
    @Valid
    public static class option extends SettingBusinessFieldOptionBase {

        @Schema(description = "业务字段选项主键ID")
        private Long id;

        @Schema(description = "操作方式")
        private String operateType;
    }

}